<template>
  <el-dialog title="提示" width="30%" v-if="dialogVisibled">
    <div style="width: 100%;text-align: center;"><span>您确认执行此操作吗</span></div>
    <querenQuxiao @cancelHandler="cancelHandler" @okHandler="delALLHandler"></querenQuxiao>
  </el-dialog>
</template>

<script>
import querenQuxiao from './queren_quxiao.vue';
export default {
  components: { querenQuxiao },
  props: ['dialogVisibled'],
  methods: {
    delALLHandler() {
      this.$emit('delAllHandler')
    },
    cancelHandler() {
      this.$emit('dialogCancelHandler')
    }
  }
}
</script>

<style lang="scss" scoped>

.footer {
  width: 100%;
  text-align: center;
  margin-top: 40px;

  .el-button {
    width: 110px;
    height: 30px;
    margin: 0 15px;
  }
}
</style>